package com.huaxinkai.mobile.util.wechatUtil.bean.wxconfig;

import java.util.Date;

import com.huaxinkai.mobile.util.wechatUtil.WechatConfig;
/**
 * 微信 js-sdk 验证bean
 * @author liuzh
 * @date 2017年1月6日上午12:57:16
 */
public class WxConfig {
	private String appId = WechatConfig.WECHAT_APPID;
	
	private long timestamp = new Date().getTime()/1000;
	
	private String nonceStr = "";
	
	private String signature = "";

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public WxConfig() {
		super();
	}

	@Override
	public String toString() {
		return "WxConfig [appId=" + appId + ", timestamp=" + timestamp + ", nonceStr=" + nonceStr + ", signature="
				+ signature + "]";
	}
	
	
}
